Package com.cisco.pt.ipc.sim.pdu.impl
Class OSPFv6LinkLSAImpl
java.lang.Object
com.cisco.pt.ipc.impl.IPCDataImpl
com.cisco.pt.ipc.sim.pdu.impl.SignalImpl
com.cisco.pt.ipc.sim.pdu.impl.PduImpl
com.cisco.pt.ipc.sim.pdu.impl.OSPFLSAImpl
com.cisco.pt.ipc.sim.pdu.impl.OSPFv6LSAImpl
com.cisco.pt.ipc.sim.pdu.impl.OSPFv6LinkLSAImpl
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected IPV6Addressprotected OSPFv6OptionFieldprotected List<OSPFv6Prefix>protected ByteFields inherited from class com.cisco.pt.ipc.sim.pdu.impl.OSPFLSAImpl
headerFields inherited from class com.cisco.pt.ipc.sim.pdu.impl.SignalImpl
fieldNames, fieldTable, signalType, typeTable -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidencodeTypeAndPayload(EncodedBuffer buffer) getFieldType(String fieldName) voidpduRead(EncodedBuffer buffer) voidread(EncodedBuffer buffer) Reads this object from an EncodedBuffer of raw datavoidsetLinkLocalInterfaceAddress(IPV6Address linkLocalInterfaceAddress) voidsetOption(OSPFv6OptionField option) voidsetPrefixes(List<OSPFv6Prefix> prefixes) voidsetRouterPriority(Byte routerPriority) Methods inherited from class com.cisco.pt.ipc.sim.pdu.impl.OSPFLSAImpl
getHeader, setHeaderMethods inherited from class com.cisco.pt.ipc.sim.pdu.impl.SignalImpl
getFieldValueMethods inherited from class com.cisco.pt.ipc.impl.IPCDataImpl
checkType, pduReadBoolean, pduReadByte, pduReadDouble, pduReadFloat, pduReadInt, pduReadIPAddress, pduReadIPCData, pduReadIPV6Address, pduReadLong, pduReadMACAddress, pduReadPair, pduReadQString, pduReadShort, pduReadString, pduReadUUID, pduReadVector, readBoolean, readByte, readDouble, readFloat, readInt, readIPAddress, readIPCData, readIPV6Address, readLong, readMACAddress, readPair, readQString, readShort, readString, readUUID, readVectorMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.cisco.pt.ipc.sim.pdu.Signal
getFieldValue
-
Field Details
-
routerPriority
-
option
-
linkLocalInterfaceAddress
-
prefixes
-
-
Constructor Details
-
OSPFv6LinkLSAImpl
public OSPFv6LinkLSAImpl()
-
-
Method Details
-
getRouterPriority
- Specified by:
getRouterPriorityin interfaceOSPFv6LinkLSA- Returns:
- Byte Returns a Byte
-
setRouterPriority
- Specified by:
setRouterPriorityin interfaceOSPFv6LinkLSA- Parameters:
routerPriority- Takes in a parameter of routerPriority
-
getOption
- Specified by:
getOptionin interfaceOSPFv6LinkLSA- Returns:
- OSPFv6OptionField Returns a OSPFv6OptionField
-
setOption
- Specified by:
setOptionin interfaceOSPFv6LinkLSA- Parameters:
option- Takes in a parameter of option
-
getLinkLocalInterfaceAddress
- Specified by:
getLinkLocalInterfaceAddressin interfaceOSPFv6LinkLSA- Returns:
- IPV6Address Returns a IPV6Address
-
setLinkLocalInterfaceAddress
- Specified by:
setLinkLocalInterfaceAddressin interfaceOSPFv6LinkLSA- Parameters:
linkLocalInterfaceAddress- Takes in a parameter of linkLocalInterfaceAddress
-
getPrefixes
- Specified by:
getPrefixesin interfaceOSPFv6LinkLSA- Returns:
- List<OSPFv6Prefix> Returns a List<OSPFv6Prefix>
-
setPrefixes
- Specified by:
setPrefixesin interfaceOSPFv6LinkLSA- Parameters:
prefixes- Takes in a parameter of prefixes
-
getFieldType
- Overrides:
getFieldTypein classOSPFv6LSAImpl
-
read
Reads this object from an EncodedBuffer of raw data- Specified by:
readin interfaceIPCData- Overrides:
readin classOSPFv6LSAImpl- Parameters:
buffer- The EncodedBuffer that contains the raw data from which to construct this object
-
pduRead
- Specified by:
pduReadin interfaceSignal- Overrides:
pduReadin classOSPFv6LSAImpl
-
getOrderedFieldNames
- Specified by:
getOrderedFieldNamesin interfaceSignal- Overrides:
getOrderedFieldNamesin classOSPFv6LSAImpl
-
encodeTypeAndPayload
- Specified by:
encodeTypeAndPayloadin interfaceSignal- Overrides:
encodeTypeAndPayloadin classOSPFv6LSAImpl
-